package com.litong.vertx.hello;

import io.vertx.core.Handler;
import io.vertx.ext.web.RoutingContext;

/**
 * Created by litongjava@qq.com on 2020/9/9_22:41
 */
public class HiHanlder implements Handler<RoutingContext>  {
  @Override
  public void handle(RoutingContext req) {
    req.response().putHeader("content-type", "text/plain").end("hi");
  }
}
